package com.taotao.service;


import com.taotao.TaotaoResult;
import com.taotao.pojo.TreeNode;

import java.util.List;

/**
 * Created by mafuhua on 2017/9/29.
 */
public interface ContentCatgoryService {
    List<TreeNode> getContentCatList(long parentId);

    TaotaoResult insertCategory(long parentId, String name);

    TaotaoResult updateCategory(long parentId, String name);

    TaotaoResult deleteCategory(long parentId, long id);
}
